package com.itqf.ipmsys.dto;

import com.fasterxml.jackson.annotation.JsonAlias;

import java.util.Date;

/**
 * @author corn
 * @create 2021-10-10 18:44
 * @Description: ${Description}
 */
public class TrafficListDTO {

    private Integer page = 1;

    @JsonAlias("pagesize")
    private Integer pageSize = 10;
    private String unit;
    private Date date;

    @Override
    public String toString() {
        return "TrafficDTO{" +
                "page=" + page +
                ", pageSize=" + pageSize +
                ", unit='" + unit + '\'' +
                ", date=" + date +
                '}';
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}

